package cn.com.dhcc.app.pub.core.api;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;  
import javax.xml.bind.annotation.XmlAccessorType;  
import javax.xml.bind.annotation.XmlElement;  
import javax.xml.bind.annotation.XmlType;  
@XmlAccessorType(XmlAccessType.FIELD)  
@XmlType(propOrder = { "orderId", "auditor", "adaptercode","encrypt", "sendTime","nodecode" })  
public class RouteEntry implements Serializable {
	private static final long serialVersionUID = 2439003494954039692L;
	
	/**
	 * 节点代码，必填项
	 */
	@XmlElement(name = "orderId") 
	private String orderId;
	/**
	 * 业务编码，选填项，编码规则请参考业务编码规范
	 */
	@XmlElement(name = "auditor") 
	private String auditor;
	@XmlElement(name = "adaptercode") 
	private String adaptercode;
	
	/**
	 * 是否加密
	 */
	@XmlElement(name = "encrypt") 
	private String encrypt;
	@XmlElement(name = "sendTime") 
	private String sendTime;

	
	public String getEncrypt() {
		return encrypt;
	}
	public void setEncrypt(String encrypt) {
		this.encrypt = encrypt;
	}
	/**
	 * 节点代码，必填项
	 */
	@XmlElement(name = "nodecode") 
	private String nodecode;
	
	public String getNodecode() {
		return nodecode;
	}
	
	public void setNodecode(String nodecode) {
		this.nodecode = nodecode;
	}
	
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	
	public String getAuditor() {
		return auditor;
	}
	public void setAuditor(String auditor) {
		this.auditor = auditor;
	}
	public String getSendTime() {
		return sendTime;
	}
	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}
	public String getAdaptercode() {
		return adaptercode;
	}
	public void setAdaptercode(String adaptercode) {
		this.adaptercode = adaptercode;
	}
	@Override
	public String toString() {
		return "RouteEntry [orderId=" + orderId + ", auditor=" + auditor
				+ ", adaptercode=" + adaptercode + ", encrypt=" + encrypt
				+ ", sendTime=" + sendTime + ", nodecode=" + nodecode + "]";
	}
}
